<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            font:50px 微软软黑;
            /* 
                text-decoration 设置文本修饰
                    可选值: 
                        none 什么都没有
                        underline 下划线
                        line-through 删除线
                        overline 上划线
            */
            /* text-decoration: overline; */
            /* text-decoration: underline red dotted */
        }
        .box1{
            width: 200px;
            /* 
                white-space 设置网页如何处理空白
                    可选值: 
                        normal 正常
                        nowrap 不换行
                        pre 保留空白
            */
            /* 网页默认换行 */
            white-space: normal;
            /* 内容裁剪 */
            overflow:hidden;
            /* 文本后显示省略号
                溢出内容显示省略号
                */
            text-overflow: ellipsis;
        }
    </style>
</head>
<body>
    <div class="box">
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Vel quos laborum sed reiciendis dolore quibusdam possimus nostrum dolor itaque corporis ad, cupiditate neque, veritatis necessitatibus molestias aut aliquid, sequi est!
    </div>
    <div class="box1">
        今日风儿甚是喧嚣
    </div>
</body>
</html>